﻿using System.Collections.Generic;

namespace yiCommerce.Models.Statuses
{
    public class StatusModel
    {
        public string Text{ get; set; }
        public IList<StatusPictureModel> Pics { get; set; }
        public bool IsProduct { get; set; }

        public ProductStatusInfo ProductStatusInfo { get; set; }
    }

    public class ProductVariantInfo
    {
        public int ProductVariantId { get; set; }
        public int ProductStock { get; set; }
        public decimal ProductPrice { get; set; }
    }

    public class ProductStatusInfo:StatusModel
    {
        public int ProductId { get; set; }
        public IList<ProductVariantInfo> PvInfos { get; set; }
    }
}